package com.example.xiangmuservice.dao;

import com.example.xiangmuservice.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * MVC(M)模型层，实际访问数据库的
 */
public interface UserRepository extends JpaRepository<User,Integer> {
    User save(User user);
}
